Package edu.uky.ai.tic.state
Class Move
java.lang.Object
edu.uky.ai.tic.state.Move
public class Move
extends java.lang.Object
Represents an individual move in a game of Tic Tac Toe.
- Author:
- Stephen G. Ware
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description java.lang.StringtoString()
-
Field Details
-
Constructor Details
-
Move
Constructs a move object.- Parameters:
player- the player making the moverow- the row on the gird in which the player places his markcolumn- the column on the grid in which the player places his mark
-
-
Method Details
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-